import { VehCostType } from "../utils/const";

const lineModeList = ["单程", "往返", "去程", "返程"].map((item, index) => {
  return {
    label: item,
    value: index + 1,
  };
});
const companyList = ["天汉", "京丰"].map((v) => {
  return {
    label: v,
    value: v,
  };
});
export default async function basicmodule(app) {
  app.get("data", () => {
    return {
      lineModeList,
      companyList,
      VehCostType,
    };
  });
}

export const autoPrefix = "/basic/";
